import api from '@/service/api';

export type Params = {
  name: string;
  icon: string;
  board: 0 | 1;
};

/*
* 添加指标类型
* */
export default (params: Params): Promise<any> => {
  return api.post('/admin/add-target-type', params);
}
